import request from "@/utils/request.js";

// 登录接口
export const loginFn = (data) => {
    return request({
        url: 'admin/login',
        method: 'post',
        data
    })
}